<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.io.FileConduit</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.io.FileConduit";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.io.FileConduit.html" class="symbol">tango.io.FileConduit</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: March 2004      
                        Outback release: December 2006
<p class="sec_header">Author:</p><ul>Kris</ul>
                        <ul>John Reimer</ul>
                        <ul>Anders F Bjorklund (Darwin patches)</ul>
                        <ul>Chris Sauls (Win95 file support)</ul>
<dl>
<dt class="decl">class <a class="symbol _class" name="FileConduit" href="./htmlsrc/tango.io.FileConduit.html#L121" kind="class" beg="121" end="592">FileConduit</a> : DeviceConduit, DeviceConduit.Seek; <a title="Permalink to this symbol" href="#FileConduit" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L121">#</a></dt>
<dd class="ddef">
<div class="summary">Implements a means of reading and writing a generic file. Conduits
        are the primary means of accessing external data and FileConduit
        extends the basic pattern by providing file-specific methods to
        set the file size, seek to a specific file position and so on. 
        
        Serial input and output is straightforward. In this example we
        copy a file directly to the console:
        <pre class="d_code">
<span class="lc">// open a file for reading</span>
<span class="k">auto</span> <span class="i">from</span> = <span class="k">new</span> <span class="i">FileConduit</span> (<span class="sl">"test.txt"</span>);

<span class="lc">// stream directly to console</span>
<span class="i">Stdout</span>.<span class="i">copy</span> (<span class="i">from</span>);
</pre></div>
And here we copy one file to another:
        <pre class="d_code">
<span class="lc">// open another for writing</span>
<span class="k">auto</span> <span class="i">to</span> = <span class="k">new</span> <span class="i">FileConduit</span> (<span class="sl">"copy.txt"</span>, <span class="i">FileConduit</span>.<span class="i">WriteCreate</span>);

<span class="lc">// copy file</span>
<span class="i">to</span>.<span class="i">output</span>.<span class="i">copy</span> (<span class="k">new</span> <span class="i">FileConduit</span>(<span class="sl">"test.txt"</span>));
</pre>
        
        To load a file directly into memory one might do this:
        <pre class="d_code">
<span class="lc">// open file for reading</span>
<span class="k">auto</span> <span class="i">fc</span> = <span class="k">new</span> <span class="i">FileConduit</span> (<span class="sl">"test.txt"</span>);

<span class="lc">// create an array to house the entire file</span>
<span class="k">auto</span> <span class="i">content</span> = <span class="k">new</span> <span class="k">char</span>[<span class="i">fc</span>.<span class="i">length</span>];

<span class="lc">// read the file content. Return value is the number of bytes read</span>
<span class="k">auto</span> <span class="i">bytesRead</span> = <span class="i">fc</span>.<span class="i">input</span>.<span class="i">read</span> (<span class="i">content</span>);
</pre>
<p class="bl"/>
        Conversely, one may write directly to a FileConduit, like so:
        <pre class="d_code">
<span class="lc">// open file for writing</span>
<span class="k">auto</span> <span class="i">to</span> = <span class="k">new</span> <span class="i">FileConduit</span> (<span class="sl">"text.txt"</span>, <span class="i">FileConduit</span>.<span class="i">WriteCreate</span>);

<span class="lc">// write an array of content to it</span>
<span class="k">auto</span> <span class="i">bytesWritten</span> = <span class="i">to</span>.<span class="i">output</span>.<span class="i">write</span> (<span class="i">content</span>);
</pre>
<p class="bl"/>
        FileConduit can just as easily handle random IO. Here we use seek()
        to relocate the file pointer and, for variation, apply a protocol to
        perform simple input and output:
        <pre class="d_code">
<span class="lc">// open a file for reading</span>
<span class="k">auto</span> <span class="i">fc</span> = <span class="k">new</span> <span class="i">FileConduit</span> (<span class="sl">"random.bin"</span>, <span class="i">FileConduit</span>.<span class="i">ReadWriteCreate</span>);

<span class="lc">// construct (binary) reader &amp; writer upon this conduit</span>
<span class="k">auto</span> <span class="i">read</span> = <span class="k">new</span> <span class="i">Reader</span> (<span class="i">fc</span>);
<span class="k">auto</span> <span class="i">write</span> = <span class="k">new</span> <span class="i">Writer</span> (<span class="i">fc</span>);

<span class="k">int</span> <span class="i">x</span>=<span class="n">10</span>, <span class="i">y</span>=<span class="n">20</span>;

<span class="lc">// write some data, and flush output since protocol IO is buffered</span>
<span class="i">write</span> (<span class="i">x</span>) (<span class="i">y</span>) ();

<span class="lc">// rewind to file start</span>
<span class="i">fc</span>.<span class="i">seek</span> (<span class="n">0</span>);

<span class="lc">// read data back again</span>
<span class="i">read</span> (<span class="i">x</span>) (<span class="i">y</span>);

<span class="i">fc</span>.<span class="i">close</span>();
</pre>
<p class="bl"/>
        See File, FilePath, FileScan, and FileSystem for 
        additional functionality related to file manipulation. 
<p class="bl"/>
        Compile with -version=Win32SansUnicode to enable Win95 &amp; Win32s file 
        support.
<dl>
<dt class="decl">struct <a class="symbol _struct" name="FileConduit.Style" href="./htmlsrc/tango.io.FileConduit.html#L129" kind="struct" beg="129" end="137">Style</a>; <a title="Permalink to this symbol" href="#FileConduit.Style" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L129">#</a></dt>
<dd class="ddef">
<div class="summary">Fits into 32 bits ...</div>
<dl>
<dt class="decl">Access <a class="symbol _variable" name="FileConduit.Style.access" href="./htmlsrc/tango.io.FileConduit.html#L133" kind="variable" beg="133" end="133">access</a>; <a title="Permalink to this symbol" href="#FileConduit.Style.access" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L133">#</a></dt>
<dd class="ddef">
<div class="summary">access rights</div></dd>
<dt class="decl">Open <a class="symbol _variable" name="FileConduit.Style.open" href="./htmlsrc/tango.io.FileConduit.html#L134" kind="variable" beg="134" end="134">open</a>; <a title="Permalink to this symbol" href="#FileConduit.Style.open" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L134">#</a></dt>
<dd class="ddef">
<div class="summary">how to open</div></dd>
<dt class="decl">Share <a class="symbol _variable" name="FileConduit.Style.share" href="./htmlsrc/tango.io.FileConduit.html#L135" kind="variable" beg="135" end="135">share</a>; <a title="Permalink to this symbol" href="#FileConduit.Style.share" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L135">#</a></dt>
<dd class="ddef">
<div class="summary">how to share</div></dd>
<dt class="decl">Cache <a class="symbol _variable" name="FileConduit.Style.cache" href="./htmlsrc/tango.io.FileConduit.html#L136" kind="variable" beg="136" end="136">cache</a>; <a title="Permalink to this symbol" href="#FileConduit.Style.cache" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L136">#</a></dt>
<dd class="ddef">
<div class="summary">how to cache</div></dd></dl></dd>
<dt class="decl">enum <a class="symbol _enum" name="FileConduit.Access" href="./htmlsrc/tango.io.FileConduit.html#L143" kind="enum" beg="143" end="147">Access</a>; <a title="Permalink to this symbol" href="#FileConduit.Access" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L143">#</a></dt>
<dd class="ddef">
<div class="summary"></div>
<dl>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Access.Read" href="./htmlsrc/tango.io.FileConduit.html#L144" kind="enummem" beg="144" end="144">Read</a> <a title="Permalink to this symbol" href="#FileConduit.Access.Read" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L144">#</a></dt>
<dd class="ddef">
<div class="summary">is readable</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Access.Write" href="./htmlsrc/tango.io.FileConduit.html#L145" kind="enummem" beg="145" end="145">Write</a> <a title="Permalink to this symbol" href="#FileConduit.Access.Write" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L145">#</a></dt>
<dd class="ddef">
<div class="summary">is writable</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Access.ReadWrite" href="./htmlsrc/tango.io.FileConduit.html#L146" kind="enummem" beg="146" end="146">ReadWrite</a> <a title="Permalink to this symbol" href="#FileConduit.Access.ReadWrite" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L146">#</a></dt>
<dd class="ddef">
<div class="summary">both</div></dd></dl></dd>
<dt class="decl">enum <a class="symbol _enum" name="FileConduit.Open" href="./htmlsrc/tango.io.FileConduit.html#L153" kind="enum" beg="153" end="158">Open</a>; <a title="Permalink to this symbol" href="#FileConduit.Open" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L153">#</a></dt>
<dd class="ddef">
<div class="summary"></div>
<dl>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Open.Exists" href="./htmlsrc/tango.io.FileConduit.html#L154" kind="enummem" beg="154" end="154">Exists</a> <a title="Permalink to this symbol" href="#FileConduit.Open.Exists" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L154">#</a></dt>
<dd class="ddef">
<div class="summary">must exist</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Open.Create" href="./htmlsrc/tango.io.FileConduit.html#L155" kind="enummem" beg="155" end="155">Create</a> <a title="Permalink to this symbol" href="#FileConduit.Open.Create" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L155">#</a></dt>
<dd class="ddef">
<div class="summary">create or truncate</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Open.Sedate" href="./htmlsrc/tango.io.FileConduit.html#L156" kind="enummem" beg="156" end="156">Sedate</a> <a title="Permalink to this symbol" href="#FileConduit.Open.Sedate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L156">#</a></dt>
<dd class="ddef">
<div class="summary">create if necessary</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Open.Append" href="./htmlsrc/tango.io.FileConduit.html#L157" kind="enummem" beg="157" end="157">Append</a> <a title="Permalink to this symbol" href="#FileConduit.Open.Append" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L157">#</a></dt>
<dd class="ddef">
<div class="summary">create if necessary</div></dd></dl></dd>
<dt class="decl">enum <a class="symbol _enum" name="FileConduit.Share" href="./htmlsrc/tango.io.FileConduit.html#L164" kind="enum" beg="164" end="168">Share</a>; <a title="Permalink to this symbol" href="#FileConduit.Share" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L164">#</a></dt>
<dd class="ddef">
<div class="summary"></div>
<dl>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Share.None" href="./htmlsrc/tango.io.FileConduit.html#L165" kind="enummem" beg="165" end="165">None</a> <a title="Permalink to this symbol" href="#FileConduit.Share.None" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L165">#</a></dt>
<dd class="ddef">
<div class="summary">no sharing</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Share.Read" href="./htmlsrc/tango.io.FileConduit.html#L166" kind="enummem" beg="166" end="166">Read</a> <a title="Permalink to this symbol" href="#FileConduit.Share.Read" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L166">#</a></dt>
<dd class="ddef">
<div class="summary">shared reading</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Share.ReadWrite" href="./htmlsrc/tango.io.FileConduit.html#L167" kind="enummem" beg="167" end="167">ReadWrite</a> <a title="Permalink to this symbol" href="#FileConduit.Share.ReadWrite" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L167">#</a></dt>
<dd class="ddef">
<div class="summary">open for anything</div></dd></dl></dd>
<dt class="decl">enum <a class="symbol _enum" name="FileConduit.Cache" href="./htmlsrc/tango.io.FileConduit.html#L174" kind="enum" beg="174" end="179">Cache</a>; <a title="Permalink to this symbol" href="#FileConduit.Cache" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L174">#</a></dt>
<dd class="ddef">
<div class="summary"></div>
<dl>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Cache.None" href="./htmlsrc/tango.io.FileConduit.html#L175" kind="enummem" beg="175" end="175">None</a> <a title="Permalink to this symbol" href="#FileConduit.Cache.None" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L175">#</a></dt>
<dd class="ddef">
<div class="summary">don't optimize</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Cache.Random" href="./htmlsrc/tango.io.FileConduit.html#L176" kind="enummem" beg="176" end="176">Random</a> <a title="Permalink to this symbol" href="#FileConduit.Cache.Random" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L176">#</a></dt>
<dd class="ddef">
<div class="summary">optimize for random</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Cache.Stream" href="./htmlsrc/tango.io.FileConduit.html#L177" kind="enummem" beg="177" end="177">Stream</a> <a title="Permalink to this symbol" href="#FileConduit.Cache.Stream" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L177">#</a></dt>
<dd class="ddef">
<div class="summary">optimize for stream</div></dd>
<dt class="decl"><a class="symbol _enummem" name="FileConduit.Cache.WriteThru" href="./htmlsrc/tango.io.FileConduit.html#L178" kind="enummem" beg="178" end="178">WriteThru</a> <a title="Permalink to this symbol" href="#FileConduit.Cache.WriteThru" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L178">#</a></dt>
<dd class="ddef">
<div class="summary">backing-cache flag</div></dd></dl></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.ReadExisting" href="./htmlsrc/tango.io.FileConduit.html#L187" kind="variable" beg="187" end="187">ReadExisting</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.ReadExisting" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L187">#</a></dt>
<dd class="ddef">
<div class="summary">Read an existing file</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.WriteExisting" href="./htmlsrc/tango.io.FileConduit.html#L195" kind="variable" beg="195" end="195">WriteExisting</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.WriteExisting" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L195">#</a></dt>
<dd class="ddef">
<div class="summary">Write on an existing file. Do not create</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.WriteCreate" href="./htmlsrc/tango.io.FileConduit.html#L203" kind="variable" beg="203" end="203">WriteCreate</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.WriteCreate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L203">#</a></dt>
<dd class="ddef">
<div class="summary">Write on a clean file. Create if necessary</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.WriteAppending" href="./htmlsrc/tango.io.FileConduit.html#L211" kind="variable" beg="211" end="211">WriteAppending</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.WriteAppending" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L211">#</a></dt>
<dd class="ddef">
<div class="summary">Write at the end of the file</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.ReadWriteExisting" href="./htmlsrc/tango.io.FileConduit.html#L219" kind="variable" beg="219" end="219">ReadWriteExisting</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.ReadWriteExisting" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L219">#</a></dt>
<dd class="ddef">
<div class="summary">Read and write an existing file</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.ReadWriteCreate" href="./htmlsrc/tango.io.FileConduit.html#L227" kind="variable" beg="227" end="227">ReadWriteCreate</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.ReadWriteCreate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L227">#</a></dt>
<dd class="ddef">
<div class="summary">Read &amp; write on a clean file. Create if necessary</div></dd>
<dt class="decl">Style <a class="symbol _variable" name="FileConduit.ReadWriteOpen" href="./htmlsrc/tango.io.FileConduit.html#L235" kind="variable" beg="235" end="235">ReadWriteOpen</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.ReadWriteOpen" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L235">#</a></dt>
<dd class="ddef">
<div class="summary">Read and Write. Use existing file if present</div></dd>
<dt class="decl"><a class="symbol _ctor" name="FileConduit.this" href="./htmlsrc/tango.io.FileConduit.html#L252" kind="ctor" beg="252" end="254">this</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#FileConduit.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L252">#</a></dt>
<dd class="ddef">
<div class="summary">Create a FileConduit for use with open()</div></dd>
<dt class="decl"><a class="symbol _ctor" name="FileConduit.this:2" href="./htmlsrc/tango.io.FileConduit.html#L262" kind="ctor" beg="262" end="265">this</a><span class="params">(char[] <em>path</em>, Style <em>style</em> = ReadExisting)</span>; <a title="Permalink to this symbol" href="#FileConduit.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L262">#</a></dt>
<dd class="ddef">
<div class="summary">Create a FileConduit with the provided path and style.</div></dd>
<dt class="decl"><a class="symbol _ctor" name="FileConduit.this:3" href="./htmlsrc/tango.io.FileConduit.html#L275" kind="ctor" beg="275" end="278">this</a><span class="params">(PathView <em>path</em>, Style <em>style</em> = ReadExisting)</span>; <span class="attrs">[<span class="stc">deprecated</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L275">#</a></dt>
<dd class="ddef">
<div class="summary">Create a FileConduit with the provided path and style.</div>
<p class="sec_header"><span class="red">Deprecated:</span></p>use char[] ctor instead</dd>
<dt class="decl">PathView <a class="symbol _function" name="FileConduit.path" href="./htmlsrc/tango.io.FileConduit.html#L288" kind="function" beg="288" end="292">path</a><span class="params">()</span>; <span class="attrs">[<span class="stc">deprecated</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.path" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L288">#</a></dt>
<dd class="ddef">
<div class="summary">Return the PathView used by this file.</div>
We're removing PathView here, in favour of toString()</dd>
<dt class="decl">Style <a class="symbol _function" name="FileConduit.style" href="./htmlsrc/tango.io.FileConduit.html#L300" kind="function" beg="300" end="303">style</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#FileConduit.style" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L300">#</a></dt>
<dd class="ddef">
<div class="summary">Return the Style used for this file.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileConduit.toString" href="./htmlsrc/tango.io.FileConduit.html#L311" kind="function" beg="311" end="314">toString</a><span class="params">()</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#FileConduit.toString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L311">#</a></dt>
<dd class="ddef">
<div class="summary">Return the name of the FilePath used by this file.</div></dd>
<dt class="decl">long <a class="symbol _function" name="FileConduit.position" href="./htmlsrc/tango.io.FileConduit.html#L322" kind="function" beg="322" end="325">position</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#FileConduit.position" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L322">#</a></dt>
<dd class="ddef">
<div class="summary">Return the current file position.</div></dd>
<dt class="decl">long <a class="symbol _function" name="FileConduit.length" href="./htmlsrc/tango.io.FileConduit.html#L333" kind="function" beg="333" end="342">length</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#FileConduit.length" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileConduit.html#L333">#</a></dt>
<dd class="ddef">
<div class="summary">Return the total length of this file.</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:58 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>